package cn.pkg.entities;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;
@Data
//@Table(name="m_blog")
public class Emp implements Serializable {
    private static final long serialversionUID=12313123L;
//这个这个mybatis的注解，根据逐渐查找指定住建，必须加
//    @Id
//    private Long id;

//    private Long userId;

//    private String title;

//    private String description;

    private String content;

//    private LocalDateTime created;

//    private Integer status;

    public void setContent(String content){
        this.content=content;
    }
    public String getContent(){
        return this.content;
    }

}
